<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
    <meta name="MobileOptimized" content="320"> 
    <!-- uc强制竖屏 --> 
    <meta name="screen-orientation" content="portrait"> 
    <!-- QQ强制竖屏 -->  
    <meta name="x5-orientation" content="portrait"> 
    <!-- UC强制全屏 --> 
    <meta name="full-screen" content="yes"> 
    <!-- QQ强制全屏 --> 
    <meta name="x5-fullscreen" content="true"> 
    <!-- UC应用模式 --> 
    <meta name="browsermode" content="application"> 
    <!-- QQ应用模式 --> 
    <meta name="x5-page-mode" content="app"> 
    <!-- windows phone 点击无高光 --> 
    <meta name="msapplication-tap-highlight" content="no">
    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
    <title><%= htmlWebpackPlugin.options.title %></title>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
    fnResize()
    window.onresize = function () {
        fnResize()
    }
    function fnResize() {
        var deviceWidth = document.documentElement.clientWidth || window.innerWidth;
        /*
          deviceWidth / 75   这里的75可以根据实际情况去修改
        */
        document.documentElement.style.fontSize = (deviceWidth / 75) + 'px';
    }
    </script>
</html>
